class Graph(object):
    def __init__(self):
        self.nodes = [1,2,3,4]
        self.adj = {
                1:2,
                2:3,
                3:4,
                4:1
                }

